import {Utility} from "@/libs/utility";

export const ECGMonitoringForm = [
	{
		fieldName: "id",
		fieldCNName: "",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "",
	},
	{
		/** 字段名，如：name */
		fieldName: "examineeCode",
		/** 字段对应的中文解释，如：姓名 */
		fieldCNName: "受试者编号",
		/** 字段的值，如：张三 */
		filedValue: 1,
		disabled: true,
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
		span: 2,
	},
	{
		disabled: true,
		/** 字段名，如：name */
		fieldName: "examineeName",
		/** 字段对应的中文解释，如：姓名 */
		fieldCNName: "受试者姓名",
		/** 字段的值，如：张三 */
		filedValue: 1,
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
		span: 2,
	},
	{
		disabled: true,
		/** 字段名，如：name */
		fieldName: "filterNo",
		/** 字段对应的中文解释，如：姓名 */
		fieldCNName: "筛选号",
		/** 字段的值，如：张三 */
		filedValue: 1,
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
		span: 2,
	},
	{
		fieldName: "monitorTime",
		fieldCNName: "监测时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "datetime",
		span: 2,
		rules: {
			required: true, // 只有为true的时候才写，为false这个字段不要
		},
	},
	{
		fieldName: "hr",
		fieldCNName: "HR(次/分)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
	},
	{
		fieldName: "pr",
		fieldCNName: "PR间期(ms)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
	},
	{
		fieldName: "qrs",
		fieldCNName: "QRS间期(ms)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
	},
	{
		fieldName: "qt",
		fieldCNName: "QT间期(ms)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
	},
	{
		fieldName: "qtc",
		fieldCNName: "QTC间期(ms)",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputNumber",
		span: 2,
	},
	{
		fieldName: "reportByName",
		fieldCNName: "报告人",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		span: 2,
	},
	{
		fieldName: "reportTime",
		fieldCNName: "报告时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "datetime",
		span: 2,
	},
	{
		fieldName: "reportJudge",
		fieldCNName: "报告判断",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "select",
		span: 2,
		itemList: Utility.getDictList("p_select_option"),
	},
	{
		fieldName: "reportResult",
		fieldCNName: "报告结果",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "textarea",
	},
	{
		fieldName: "remark",
		fieldCNName: "备注",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "textarea",
	},
	{
		fieldName: "createByName",
		fieldCNName: "监测记录人",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		span: 2,
		disabled: true,
	},
	{
		// 这里应该是选择的，后面再确认
		fieldName: "createTime",
		fieldCNName: "记录时间",
		filedValue: "",
		/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
		type: "inputText",
		span: 2,
		disabled: true,
	},
]
